Replication materials: "Elections Activate Partisanship Across Countries,” by Shane P. Singh and Judd R. Thornton. American Political Science Review. 

Below is a description of the data and analysis files, as well as instructions for the replication of the content of all tables and figures. All analyses were conducted using Stata/MP Version 13.1 for Mac or R version 3.4.3 for Mac. 



********************************************
***************NECESSARY FILES**************
********************************************
singh_thornton_APSR_replication.do	Contains Stata code for reproducing the analyses and figures in the main text and appendix

singh_thornton_APSR_replication.dta	Contains data, in Stata 13 format, from Modules 1-3 of the CSES, information on GDP per capita from the World Bank’s World Development Indicators, and Polity IV scores from the Center for Systemic Peace

singh_thornton_APSR_replication.R	Contains R code for reproducing the analyses depicted in the far-right columns of Tables C.1-C.3 in the appendix and Figure G.1

days_until_next_election.dta		Contains data, in Stata 13 format, for the reproduction of Figure G.1 in R


********************************************
****INSTRUCTIONS AND FURTHER DESCRIPTION****
********************************************
1. Put the data files, singh_thornton_APSR_replication.dta and days_until_next_election.dta, in the same folder. You will need to set your working directory in Stata and R to this folder. 

2. Open and run “singh_thornton_APSR_replication.do”. The code will reproduce the figures in the article. The code will also reproduce the numerical results and figures shown in the appendix. The code also includes analyses that support claims made in the text that do not appear in the tables or figures. 

3. Open and run “singh_thornton_APSR_replication.R”. The code will reproduce the numerical output shown in the far-right columns of Tables C.1-C.3 in the appendix and Figure G.1 of the appendix.  


********************************************
*************DATASET CITATIONS**************
********************************************
The Comparative Study of Electoral Systems. 2003. CSES MODULE 1 FULL RELEASE. August 4, 2003 version. Ann Arbor, MI and Mannheim. 

The Comparative Study of Electoral Systems. 2007. CSES MODULE 2 FULL RELEASE. June 27, 2007 version. Ann Arbor, MI and Mannheim. 

The Comparative Study of Electoral Systems. 2013. CSES MODULE 3 FULL RELEASE. March 27, 2013 version. Ann Arbor, MI and Mannheim. 

Center for Systemic Peace. 2017. Polity IV Data: Polity-Case Format, 1800-2016. Vienna, VA.

The World Bank. 2017. World Development Indicators. Washington, D.C.



********************************************
*************CONTACT INFORMATION************
********************************************
Shane P. Singh
singh@uga.edu
www.shanepsingh.com
https://scholar.google.com/citations?hl=en&user=GZ2ePRkAAAAJ




